package com.hp.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author hp
 */
@FeignClient(name = "lesson-client", url = "${lark.robot.webapi}")
public interface LarkRobotClient {


    @PostMapping(consumes = MediaType.APPLICATION_JSON_VALUE)
    String sendMessage(String request);


}
